<?php 
class Form_Event extends Zend_Form {
	public function __construct()
	{
		parent::__construct();
		$this->setName('event');
		$name = new Zend_Form_Element_Text('name', array('class'=>'text', 'id'=>'edit_add'));
		$about = new Zend_Form_Element_Textarea('about', array('class'=>'text-a1', 'cols'=>'10', 'rows'=>'10'));
		$shortAbout = new Zend_Form_Element_Textarea('short_about', array('class'=>'text-a1', 'cols'=>'10', 'rows'=>'10'));
		$time = new Zend_Form_Element_Text('time', array('id'=>'edit_add7' , 'class'=>'text'));
		$submit = new Zend_Form_Element_Image('submit',array('src' => '/images/btn-add.gif','class'=>'button-add'));
		$this->addElements(array($name, $about, $shortAbout, $time, $submit));
	    foreach($this->getElements() as $element){
        	$element->clearDecorators()->addDecorator("ViewHelper")
        	->addDecorator("Errors");
        }
		
	}
}